home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 5
/
Amiga Tools 5.iso
/
tools
/
developer-tools
/
guis
/
gadutil
/
docs
/
autodocs
/
44.gu_findnode
< prev
next >
Wrap
Text File
|
1996-07-16
|
751b
|
31 lines
gadutil.library/GU_FindNode gadutil.library/GU_FindNode
NAME
GU_FindNode -- Find the node structure of a given node number
SYNOPSIS
node = GU_FindNode(list, number)
D0,A0,SR(Z) A0 D0
struct Node *GU_FindNode(struct List *, WORD);
FUNCTION
Finds a specified node in a list.
INPUTS
list - Struct List. The list in where to search.
number - Number of the node to find (counting from 0).
RESULT
node - Address to the node structure or NULL if the node wasn't
existing.
SR(Z) - 0 for success, 1 for failure.
BUGS
none known
SEE ALSO
GU_AddTail(), GU_ClearList(), GU_DetachList(), GU_AttachList()
GU_NodeUp(), GU_NodeDown(), GU_CountNodes(), GU_NewList(), GU_SortList()